home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD022b.dsk
/
APPLE SKETCH.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
3KB
|
57 lines
10 REM ************************
15 REM ******* ETCH ******
20 REM ************************
25 HOME : VTAB 10: HTAB 10: PRINT "DO YOU NEED INSTRUCTIONS?"
30 VTAB 12: HTAB 17: PRINT "(YES OR NO)"
35 VTAB 13: HTAB 17: INPUT "";A$
40 IF LEFT$(A$,1) = "Y" THEN GOTO 210
45 IF LEFT$(A$,1) < >"N" THEN GOTO 25
50 C = 3
55 TEXT : GOTO 190
60 HCOLOR= C: HPLOT A,B
61 VTAB 21: PRINT " ": VTAB 21: PRINT A,B
63 VTAB 22: PRINT "HORIZONTAL","VERTICAL"
65 GOSUB 130
70 IF X = 209 THEN TEXT : HOME : PRINT CHR$(4);"RUN MENU"
72 IF X = 213 THEN A = A -1:B = B -1
75 IF X = 195 THEN GOTO 50
76 IF X = 207 THEN A = A +1:B = B -1
77 IF X = 172 THEN A = A +1:B = B +1: GOTO 85
79 IF X = 206 THEN A = A -1:B = B +1
80 IF X <184 THEN GOTO 150
85 IF X = 201 THEN B = B -1
90 IF X = 202 THEN A = A -1
95 IF X = 203 THEN A = A +1
100 IF X = 205 THEN B = B +1
105 IF B <0 THEN PRINT "<CTRL-G>":B = 0
110 IF B >159 THEN PRINT "<CTRL-G>":B = 159
115 IF A <0 THEN PRINT "<CTRL-G>":A = 0
120 IF A >279 THEN PRINT "<CTRL-G>":A = 279
125 GOTO 60
130 X = PEEK( -16384): IF X >127 THEN GOTO 140
135 GOTO 130
140 POKE -16368,0: RETURN
150 IF X = 176 THEN C = 0
153 IF X = 177 THEN C = 1
155 IF X = 178 THEN C = 2
160 IF X = 179 THEN C = 3
165 IF X = 180 THEN C = 4
170 IF X = 181 THEN C = 5
175 IF X = 182 THEN C = 6
180 IF X = 183 THEN C = 7
185 GOTO 60
190 HOME : VTAB 10: HTAB 10: PRINT "ENTER START POSTION": PRINT : HTAB 10: PRINT "HORIZONTAL ";: INPUT "";A
200 PRINT : HTAB 10: PRINT "VERTICAL ";: INPUT "";B: HGR : GOTO 60
210 HOME : VTAB 5: PRINT " TO DRAW, SIMPLY PRESS": PRINT " THE FOLLOWING KEYS"
215 PRINT : HTAB 10: PRINT "I = UP": HTAB 10: PRINT "J = LEFT": HTAB 10: PRINT "K = RIGHT": HTAB 10: PRINT "M = DOWN"
220 PRINT : HTAB 10: PRINT "FOR DIAGIONAL MOVEMENT PRESS"
225 PRINT : HTAB 10: PRINT "U = LEFT & UP": HTAB 10: PRINT "O = RIGHT & UP": HTAB 10: PRINT "N = LEFT & DOWN": HTAB 10: PRINT ", = RIGHT & DOWN"
230 PRINT : HTAB 10: PRINT "PRESS RETURN TO CONTINUE": HTAB 10: INPUT "";A$
235 HOME : VTAB 5: HTAB 10: PRINT "TO CHANGE COLOR PRESS 0-7"
240 PRINT : HTAB 10: PRINT "0 = BLACK 1": HTAB 10: PRINT "1 = GREEN": HTAB 10: PRINT "2 = VIOLET": HTAB 10: PRINT "3 = WHITE 1"
245 HTAB 24: VTAB 7: PRINT "4 = BLACK 2": HTAB 24: PRINT "5 = ORANGE": HTAB 24: PRINT "6 = BLUE": HTAB 24: PRINT "7 = WHITE 2"
250 PRINT : PRINT : HTAB 6: PRINT "IF YOU HAVE AN OLDER APPLE COLORS": HTAB 6: PRINT "IN THE SECOND COLUMN WILL LOOK THE"
255 HTAB 6: PRINT "SAME AS THOSE IN THE FIRST COLUMN"
260 PRINT : PRINT : HTAB 10: PRINT "PRESS RETURN TO CONTINUE": HTAB 10: INPUT "";A$
265 HOME : VTAB 10: HTAB 10: PRINT "PRESS C TO CLEAR SCREEN": PRINT : HTAB 10: PRINT "TO QUIT PRESS Q": PRINT : PRINT : HTAB 10: PRINT "PRESS RETURN TO CONTINUE": HTAB 10: INPUT "";A$
270 GOTO 50